package com.carkeeper.subject.pojo;


import com.alibaba.excel.annotation.ExcelProperty;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "tb_store")
public class Store implements Serializable {
    @Id
    private Long id;                        //id

    private String name;                    //门店全称
    @ExcelProperty(value = "汽修厂简称",index = 2)
    private String simpleName;              //门店简称
    @ExcelProperty(value = "汽修厂编码",index = 1)
    private String code;                    //门店编码
    private String imgUrl;                  //门店图片
    @ExcelProperty(value = "所在区域",index = 6)
    private String province;                //省
    private String city;                    //市
    private String county;                  //区县
    private String address;                 //地址
    private BigDecimal addressLongitude;    //经度
    private BigDecimal addressLatitude;     //纬度
    private String cityCode;                //城市编码
    @ExcelProperty(value = "联系人",index = 3)
    private String contactName;             //联系人
    @ExcelProperty(value = "联系电话",index = 4)
    private String contactPhone;            //联系电话
    private Long typeLab;                   //类型标签
    private String type;                    //类别
    @ExcelProperty(value = "是否连锁",index = 5)
    private String isChain;                 //是否连锁
    private String source;                  //来源
    @ExcelProperty(value = "状态",index = 7)
    private String status;                  //锁定状态
    private String auditStatus;             //审核状态
    private Date createTime;                //创建时间

    public Store() {
    }

    public Store(Long id, String name, String simpleName, String code, String imgUrl, String province, String city, String county, String address, BigDecimal addressLongitude, BigDecimal addressLatitude, String cityCode, String contactName, String contactPhone, Long typeLab, String type, String isChain, String source, String status, String auditStatus, Date createTime) {
        this.id = id;
        this.name = name;
        this.simpleName = simpleName;
        this.code = code;
        this.imgUrl = imgUrl;
        this.province = province;
        this.city = city;
        this.county = county;
        this.address = address;
        this.addressLongitude = addressLongitude;
        this.addressLatitude = addressLatitude;
        this.cityCode = cityCode;
        this.contactName = contactName;
        this.contactPhone = contactPhone;
        this.typeLab = typeLab;
        this.type = type;
        this.isChain = isChain;
        this.source = source;
        this.status = status;
        this.auditStatus = auditStatus;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getAddressLongitude() {
        return addressLongitude;
    }

    public void setAddressLongitude(BigDecimal addressLongitude) {
        this.addressLongitude = addressLongitude;
    }

    public BigDecimal getAddressLatitude() {
        return addressLatitude;
    }

    public void setAddressLatitude(BigDecimal addressLatitude) {
        this.addressLatitude = addressLatitude;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public Long getTypeLab() {
        return typeLab;
    }

    public void setTypeLab(Long typeLab) {
        this.typeLab = typeLab;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIsChain() {
        return isChain;
    }

    public void setIsChain(String isChain) {
        this.isChain = isChain;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
